package cn.paul.wechatshop.dao;

import cn.paul.wechatshop.entity.OrderDetail;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 徐凌峰
 * @date 2017/12/12 0012
 */
@Repository
public interface OrderDetailDao extends JpaRepository<OrderDetail, String> {

    List<OrderDetail> findByOrderId(String orderId);
}
